package com.linewow.xhyy.nihaonew.entity;

import android.databinding.BaseObservable;
import android.databinding.Bindable;

import com.linewow.xhyy.nihaonew.BR;

/**
 * Created by LXR on 2016/9/23.
 */
public class NewTopicImageInfo extends BaseObservable {
    public String path;
    public String description;

    public void setPath(String path) {
        this.path = path;
    }

    public void setDescription(String description) {
        this.description = description;
        notifyPropertyChanged(BR.description);
    }

    public NewTopicImageInfo(String path) {
        this.path = path;
    }

    @Bindable
    public String getDescription() {
        return description;
    }

    @Override
    public String toString() {
        return "NewTopicImageInfo{" +
                "path='" + path + '\'' +
                ", description='" + description + '\'' +
                '}';
    }
}